package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the RECIBO_TITULO database table.
 * 
 */
@Entity
@Table(name="RECIBO_TITULO")
public class ReciboTitulo implements Serializable {
	private static final long serialVersionUID = 1L;
	private ReciboTituloPK id;
	private String agntSync;
	private String anRecibo;
	private String coCaja;
	private String coRegiOrig;
	private String coSedeOrig;
	private String coZonaOrig;
	private Date fecRecibo;
	private String indExtorno;
	private BigDecimal montoCobr;
	private String numTick;
	private Date tsUltSync;

    public ReciboTitulo() {
    }


	@EmbeddedId
	public ReciboTituloPK getId() {
		return this.id;
	}

	public void setId(ReciboTituloPK id) {
		this.id = id;
	}
	

	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="AN_RECIBO", length=4)
	public String getAnRecibo() {
		return this.anRecibo;
	}

	public void setAnRecibo(String anRecibo) {
		this.anRecibo = anRecibo;
	}


	@Column(name="CO_CAJA", length=2)
	public String getCoCaja() {
		return this.coCaja;
	}

	public void setCoCaja(String coCaja) {
		this.coCaja = coCaja;
	}


	@Column(name="CO_REGI_ORIG", length=2)
	public String getCoRegiOrig() {
		return this.coRegiOrig;
	}

	public void setCoRegiOrig(String coRegiOrig) {
		this.coRegiOrig = coRegiOrig;
	}


	@Column(name="CO_SEDE_ORIG", length=2)
	public String getCoSedeOrig() {
		return this.coSedeOrig;
	}

	public void setCoSedeOrig(String coSedeOrig) {
		this.coSedeOrig = coSedeOrig;
	}


	@Column(name="CO_ZONA_ORIG", length=2)
	public String getCoZonaOrig() {
		return this.coZonaOrig;
	}

	public void setCoZonaOrig(String coZonaOrig) {
		this.coZonaOrig = coZonaOrig;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="FEC_RECIBO")
	public Date getFecRecibo() {
		return this.fecRecibo;
	}

	public void setFecRecibo(Date fecRecibo) {
		this.fecRecibo = fecRecibo;
	}


	@Column(name="IND_EXTORNO", length=1)
	public String getIndExtorno() {
		return this.indExtorno;
	}

	public void setIndExtorno(String indExtorno) {
		this.indExtorno = indExtorno;
	}


	@Column(name="MONTO_COBR", precision=12, scale=2)
	public BigDecimal getMontoCobr() {
		return this.montoCobr;
	}

	public void setMontoCobr(BigDecimal montoCobr) {
		this.montoCobr = montoCobr;
	}


	@Column(name="NUM_TICK", length=8)
	public String getNumTick() {
		return this.numTick;
	}

	public void setNumTick(String numTick) {
		this.numTick = numTick;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}